package com.itheima.common.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @className OrderSettingDto
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderSettingDto {


    // 预约设置人数
    private Integer number;
    // 预约日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate orderDate;
}
